package com.jjb.spider.mqtt.model;

public class DeviceTopSubscribeMessage extends TopSubscribeMessage{

    private String deviceId;

    public DeviceTopSubscribeMessage(String deviceId) {
        this.deviceId = deviceId;
    }

    public DeviceTopSubscribeMessage(String topic, String deviceId) {
        super(topic);
        this.deviceId = deviceId;
    }

    public DeviceTopSubscribeMessage(String deviceId, String topic, Integer qos) {
        super(topic, qos);
        this.deviceId = deviceId;
    }


    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}
